package com.yfp.operation.mapper;

import com.yfp.operation.domain.StoredValueActivity;
import com.yfp.operation.domain.StoredValueActivityDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author admin
* @description 针对表【stored_value_activity_detail(储值活动详情)】的数据库操作Mapper
* @createDate 2024-11-22 10:19:20
* @Entity domain.com.yfp.operation.StoredValueActivityDetail
*/
public interface StoredValueActivityDetailMapper extends BaseMapper<StoredValueActivityDetail> {

    /**
     * 新增储值活动详情
     * @param storedValueActivity
     */
    void add(StoredValueActivity storedValueActivity);

    /**
     * 根据储值活动id获取活动详情表数据
     * @param activityId
     * @return
     */
    List<StoredValueActivityDetail> getByActivityId(Long activityId);
}




